package mythesis.gui.main.components;
import javafx.scene.*;
import javafx.scene.shape.*;
import javafx.scene.paint.*;


public class Background extends CustomNode
{
    override public function create() : Node
    {
        return Group
        {
            content:
            [
            	Rectangle
            	{
            	    width  : 960
            	    height : 540
            	    fill   : LinearGradient
            	    {
            	        startX: 0;
            	        startY: 0;
            	        endX: 1.0;
            	        endY: 1.0;
            	        proportional: true;
            	        stops: [ Stop {offset: 0.0 color: Color.web("#1B1B1B")},
            	        		 Stop {offset: 1.0 color: Color.web("#333333")},]
            	    }
            	}
            ]
        }
    }
}